#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<string.h>

void print(char *arr, size_t len)
{
    char* p = arr;
	int i = 0;
	for (i = 0; i < len; i++)
	{
		printf("%c",*p);
		p++;
	}

}
int main()
{
	char arr[] = "hello,world";
	size_t len = strlen(arr);
	print(arr, len);
	return 0;
}